NeobookFMFTP

Questions about NeoBook PlugIns

Moderator: Neosoft Support

Locked
User avatar
Dudus
Posts: 120
Joined: Wed Sep 07, 2005 12:15 pm
Location: Hungary, Budapest

NeobookFMFTP

Post by Dudus »

Dear All!

can someone show me how to send a specific file to my FTP with NeobookFMFTP without Selecting a file from a local filelist from rectanlge?
I have a C:\test.txt file and i would like to send it to my FTP dircetly. How should i do it? The Remote Connetion is ok.

Thank you!
Dudus
User avatar
CN_Iceman
Posts: 300
Joined: Tue Mar 01, 2011 11:04 am
Location: España
Contact:

Re: NeobookFMFTP

Post by CN_Iceman »

It is very easy. Just use the filecopy option.

I am not at home right now (using my smartphone) so I am not sure about the correct command.
Check the help file. I usually use that command to upload txt files to my server.

I think that you must open a local connection and a remote connection. Then use the right filecopy command.
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
CN_Iceman
Posts: 300
Joined: Tue Mar 01, 2011 11:04 am
Location: España
Contact:

Re: NeobookFMFTP

Post by CN_Iceman »

Ok, now at home.
I checked my code and it is necessary to open only 1 connection.

This is my code for upload a file to my server.

Code: Select all

fmConnectRemote "MyServer" "ftp.myserver.com" "User=XXXXXXXXX;Password=XXXXXXXXXX;Port=21;Passive=Yes;Timeout=15000;InitialPath="
fmCopyTo "MyServer" "[Your_File]" "GetConfirmation=No;ShowProgress=No"
fmDisconnect "MyServer"
Greetings/Saludos, Jose.
www.icemansoft.es
User avatar
Dudus
Posts: 120
Joined: Wed Sep 07, 2005 12:15 pm
Location: Hungary, Budapest

Re: NeobookFMFTP

Post by Dudus »

Great! :) Thank you so much, and one more question how to download a whole remote FTP directory to my C:\Test for example?

Thank you!
Dudus
Locked