Jump to content
Macro Express Forums

Ftp Get File


m204prgmr

Recommended Posts

Greeting all - you've been missed :P

I'm trying to use the FTP command in ME and I'm a little confused.

I connected successfully but when it get to the 'GET' part, I'm being told it cannot create the file for me. With the GET button selected I have two input windows. The top window has this entered, 'TSIP.USER.TSI9999.COMPLRPT.G%T15%V00'

and the lower window has this entered C:\TSI9999\%T15%.txt. Now, the lower window is only asking for a folder and if I do not add a filename, it barfs on that also.

The message I am getting is this;

'TSIP.USER.TSI9999.COMPLRPT.G1175V00' - Cannot create file C:\TSI9999\1175.TXT\'TSIP.USER.TSI9999.COMPLRPT.G1175V00'

 

You'll notice that the value 1175 has been added and it is from %T15%.

I think one of my questions based on this error message is, is the design such that the system trying to put my retrieved file in its original name into the folder? If so, that's kind of a bummer for me that I cannot rename the incoming as I can using FTP through DOS. Any help is always helpful.. B)

Link to comment
Share on other sites

Hi,

 

I thought one of the ME expetrs might have answered this; I am no expert.

 

I would have tried;

FTP Get File: "TSIP.USER.TSI9999.COMPLRPT.G%T15%V00"

Rename File or Files: "TSIP.USER.TSI9999.COMPLRPT.G%T15%V00"

<FTPGET:1:A:TSIP.USER.TSI9999.COMPLRPT.G%T15%V00C:\TSI9999><DOFILE:06:NN:C:\TSI9999\TSIP.USER.TSI9999.COMPLRPT.G%T15%V00>C:\TSI9999\%T15%.txt>

 

But is this what you are after; and does it work?

I don't think you can do it all in one command, but nothing lost?

 

Best, Randall

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...