/dev/null Posted January 25, 2007 Share Posted January 25, 2007 Thanks that's really a usefull tool for testing, but at the moment i need an ftp server that runs non-stop.??? Your request was for an ftp server to test your upload script. That can be done with babyftp!! __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
bonebreaker Posted January 25, 2007 Share Posted January 25, 2007 ??? Your request was for an ftp server to test your upload script. That can be done with babyftp!!I know that my script works, i need an fpt server for it which can be accessed non-stop thats all But some free ftp servers somehow can't be uploaded by this script.. I would need one which can be.. My programs:[topic="40019"]Sudoku[/topic], [topic="41258"]Suitcase game & Random jokes[/topic], [topic="41641"]8 Queens[/topic], [topic="41679"]Puzzle Generator[/topic], [topic="42045"]Snake[/topic]My UDFs:[topic="41309"]Prime functions & Prime game[/topic]Other:Fake emailer Link to comment Share on other sites More sharing options...
/dev/null Posted January 25, 2007 Share Posted January 25, 2007 I know that my script works, i need an fpt server for it which can be accessed non-stop thats all But some free ftp servers somehow can't be uploaded by this script.. I would need one which can be..this is definetly the WRONG forum to ask for a free ftp server. Go to a warez forum! __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
bonebreaker Posted January 25, 2007 Share Posted January 25, 2007 this is definetly the WRONG forum to ask for a free ftp server. Go to a warez forum!what does free ftp hosting has to do with warez omg ? you have no idea what i am talking about, do you ? My programs:[topic="40019"]Sudoku[/topic], [topic="41258"]Suitcase game & Random jokes[/topic], [topic="41641"]8 Queens[/topic], [topic="41679"]Puzzle Generator[/topic], [topic="42045"]Snake[/topic]My UDFs:[topic="41309"]Prime functions & Prime game[/topic]Other:Fake emailer Link to comment Share on other sites More sharing options...
/dev/null Posted January 25, 2007 Share Posted January 25, 2007 what does free ftp hosting has to do with warez omg ? you have no idea what i am talking about, do you ? I know what you are talking about! And I also know what you did last summer!!! __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Juanse Posted January 27, 2007 Share Posted January 27, 2007 My code is:$dllhandle = DllOpen('wininet.dll') $Open = _FTPOpen('FTPControl') $Conn = _FTPConnect($Open, $server, $username, $pass) $Ftpp = _FTPMakeDir($Conn, "Test2") $Ftpp1 = _FTPSetCurrentDir($Conn, "Test2") $Ftpp2 = _FtpPutFile($Conn, 'C:\Planning_UE3.xml', 'Planning_UE3.xml',0x08000000 ) $Ftpp3 = _FTPGetCurrentDir($Conn) $Ftpc = _FTPClose($Open) DllClose($dllhandle)But it creates a file on the server with this name:.pureftpd-upload.45bb2485.15.1989.d5a3f1e4File type:D5A3F1E4You noticed (I suppose) that I used the Passive Connection flag. But I tried without it and it did the same.What can I do? Link to comment Share on other sites More sharing options...
Chinasmoker Posted January 29, 2007 Share Posted January 29, 2007 I am from chineseand pool in speak english so "double posting the same post as before"my one scrip download from server use HTTP or FTPwith "INETGET" will write target FILE and TEMP file at a same timeso will caused computer run slowly.I dont understand your meaning,and never seen fuction "INETGET"Can you spell out ?by the way ,wish you goodluck One is never too old to learn Link to comment Share on other sites More sharing options...
/dev/null Posted January 29, 2007 Share Posted January 29, 2007 But it creates a file on the server with this name:.pureftpd-upload.45bb2485.15.1989.d5a3f1e4File type:D5A3F1E4You noticed (I suppose) that I used the Passive Connection flag. But I tried without it and it did the same.That's obviously a security measure of the ftp server (see pureftpd manual).What can I do?Change the configuration of the ftp server! __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
Glyph Posted February 3, 2007 Share Posted February 3, 2007 (edited) #include <Ftp.au3> $server = 'www.bsed.somee.com' $username = 'user' $pass = 'pass' $dllhandle = DllOpen('wininet.dll') $Open = _FTPOpen('ftp') $Conn = _FTPConnect($Open, $server, $username, $pass) $Ftpp = _FtpPutFile($Conn, 'C:\WINDOWS\Notepad.exe', '/bsed/notepad.exe') $Ftpc = _FTPClose($Open) DllClose($dllhandle) What's wrong with this?, it isn't uploading to my "bsed" folder.... Edited February 3, 2007 by backstabbed tolle indicium Link to comment Share on other sites More sharing options...
/dev/null Posted February 4, 2007 Share Posted February 4, 2007 What's wrong with this?, it isn't uploading to my "bsed" folder....hm.... what's wrong? NO error checking. That's wrong.... __________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf * Link to comment Share on other sites More sharing options...
AcidicChip Posted March 4, 2007 Share Posted March 4, 2007 I downloaded FTP.au3 from the 1st page of this thread, and I can't connect to any ftp servers. This is the code I use to test and it fails on connect each time. Am I missing something? #include "FTP.au3" $server = 'ftp.domain.com' $username = 'username' $pass = 'password' $Open = _FTPOpen('MyFTP Control') If @error Then MsgBox(0, "ERROR", "Can't Open") Exit EndIf $Conn = _FTPConnect($Open, $server, $username, $pass, 21) If @error Then MsgBox(0, "ERROR", "Can't Connect.") Exit EndIf Link to comment Share on other sites More sharing options...
BrettF Posted March 22, 2007 Share Posted March 22, 2007 posted for 10 hours now and already 128+ reads and 55 downloads.btw 250 posts That was quite a long time ago.... Looks really good. It'll definatly help me with my FTP file uploader... Thanks! Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
softhunterdevil Posted March 29, 2007 Share Posted March 29, 2007 Can it help me get the name of the files and folders already existing on the directoy ? So that I may create a visual tree of the file and folder system. Is it possible to get the names, properties and date of creation of those files and folders ? As we see in common FTP upload/downloading agents. Thanks in advance Link to comment Share on other sites More sharing options...
stack900 Posted April 2, 2007 Share Posted April 2, 2007 Hi Wouter, We have a directory of files on our ftp server. I need a script that runs every 15mins to make a connection to the ftp server and download all files that were added or updated within the last 15mins to a local drive or on to a different windows server? Files that have not been changed or added need not be copied. Please help! Thanks. Stack Link to comment Share on other sites More sharing options...
martin Posted April 2, 2007 Share Posted April 2, 2007 Stack, I have replied to your post about this in the General forum Martin Serial port communications UDF Includes functions for binary transmission and reception.printing UDF Useful for graphs, forms, labels, reports etc.Add User Call Tips to SciTE for functions in UDFs not included with AutoIt and for your own scripts.Functions with parameters in OnEvent mode and for Hot Keys One function replaces GuiSetOnEvent, GuiCtrlSetOnEvent and HotKeySet.UDF IsConnected2 for notification of status of connected state of many urls or IPs, without slowing the script. Link to comment Share on other sites More sharing options...
joeyb1275 Posted April 9, 2007 Share Posted April 9, 2007 This works great I've tried most of the functions. Thanks! Link to comment Share on other sites More sharing options...
JohnBailey Posted April 13, 2007 Share Posted April 13, 2007 w0uter, I was on MSDN's site snooping around through the WinInet Functions, but couldn't find what I'm looking for. Did you ever find any info on retrieving modified date (etc.) attribute of files on a server? I'm still looking, but I thought I'd ask in the meantime. A decision is a powerful thing Link to comment Share on other sites More sharing options...
Zedna Posted April 13, 2007 Share Posted April 13, 2007 w0uter, I was on MSDN's site snooping around through the WinInet Functions, but couldn't find what I'm looking for. Did you ever find any info on retrieving modified date (etc.) attribute of files on a server? I'm still looking, but I thought I'd ask in the meantime.Look hereslemke added _FTPFileFindFirst() and _FTPFileFindNext() functions to FTP UDF and with this you can obtain also file atributes and dates Resources UDF Â ResourcesEx UDF Â AutoIt Forum Search Link to comment Share on other sites More sharing options...
JohnBailey Posted April 13, 2007 Share Posted April 13, 2007 Zedna, thanks! I didn't notice the update script. I was going to add all those. One question, how do you use FindFirstFile to obtain attribute? I mean I was reading about all that stuff on MSDN (FtpFindFirstFile), but I didn't see anything about file attributes. I might be missing the obvious. thanks again for that link. That saved me a ton of time! If you could shed any light on how to use FindFirstFile to obtain file attributes that would be awesome (I'm just looking for another nudge in the right direction). In the meantime, I'll keep searching now that I know FindFirstFile is a good place to pay attention. (BTW, nice catch on that big bug for FtpGeFileSize. That would have driven me nuts) A decision is a powerful thing Link to comment Share on other sites More sharing options...
JohnBailey Posted April 13, 2007 Share Posted April 13, 2007 "FTPFindFirstFile - Searches the specified directory of the given FTP session. File and directory entries are returned to the application in the WIN32_FIND_DATA structure."Next I readhttp://msdn2.microsoft.com/en-us/library/aa365740.aspxthat's the key!I just got to figure out how to assemble the info into a working example file. I don't really know how - YET A decision is a powerful thing Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now