Thank you for the answer.
Interesting stuff.
Anyway - I figured out a "better" solution :)
Meanwhile I rewrote my PB-ftp-program, ported it to complete to php.
Has many advantages.
Sends and receives files by submitting the same paths as on the local Mirror-PC. Adds missing directories without ...
Search found 227 matches
- Sun Apr 11, 2021 1:25 pm
- Forum: Coding Questions
- Topic: FTP FileDate ?
- Replies: 2
- Views: 2260
- Sat Apr 10, 2021 4:47 am
- Forum: Coding Questions
- Topic: FTP FileDate ?
- Replies: 2
- Views: 2260
FTP FileDate ?
Hello - after many years with no bugs I ran into one I guess - here's the topic :D
I have written an FTP Program for my special needs. What does not work is the filetime which I get
MDate = FTPDirectoryEntryDate(FTP)
This produces rather rounded values
Postcard10c.jpg|1206338400|186673|24.03 ...
I have written an FTP Program for my special needs. What does not work is the filetime which I get
MDate = FTPDirectoryEntryDate(FTP)
This produces rather rounded values
Postcard10c.jpg|1206338400|186673|24.03 ...
- Fri Mar 18, 2016 12:19 am
- Forum: 3D Programming
- Topic: Decoding Stereograms
- Replies: 9
- Views: 11483
Re: Decoding Stereograms
Thanks, dobro
Looks great after several additional installations from NVidia.
Have not figured out color3D yet - its all black and white - will have a deeper look into it, after I've finished the current project.
Looks great after several additional installations from NVidia.
Have not figured out color3D yet - its all black and white - will have a deeper look into it, after I've finished the current project.
- Thu Mar 10, 2016 12:32 pm
- Forum: 3D Programming
- Topic: Newbie 3D engine question
- Replies: 16
- Views: 6899
Re: Newbie 3D engine question
This enumeration stuff and using numbers instead of Variables which hold the handles is useful for demos and very little projects.
It is some sort of PB typic
Thus, with all code examples, if you want to pick out some lines of code to use them in your own program, you have to change numbers or add ...
It is some sort of PB typic
Thus, with all code examples, if you want to pick out some lines of code to use them in your own program, you have to change numbers or add ...
- Tue Feb 23, 2016 5:18 pm
- Forum: Feature Requests and Wishlists
- Topic: DecodeImage for EncodeImage
- Replies: 5
- Views: 2449
Re: DecodeImage for EncodeImage
As wilbert said
UsePNGImageDecoder()
InitNetwork()
WinWidth=800
WinHeight=600
WinTitle.s="Test"
window1= OpenWindow(-1, 4, 4, WinWidth, WinHeight, WinTitle, #PB_Window_MinimizeGadget | #PB_Window_TitleBar | #PB_Window_ScreenCentered)
If window1
Start1=ButtonGadget(#PB_Any, 5, 5, 190, 20 ...
UsePNGImageDecoder()
InitNetwork()
WinWidth=800
WinHeight=600
WinTitle.s="Test"
window1= OpenWindow(-1, 4, 4, WinWidth, WinHeight, WinTitle, #PB_Window_MinimizeGadget | #PB_Window_TitleBar | #PB_Window_ScreenCentered)
If window1
Start1=ButtonGadget(#PB_Any, 5, 5, 190, 20 ...
- Wed Dec 30, 2015 2:10 pm
- Forum: General Discussion
- Topic: ReceiveHTTPFile - Not really a Bug - therefore here
- Replies: 3
- Views: 2430
Re: ReceiveHTTPFile - Not really a Bug - therefore here
It does make sense to have files that are 0 Bytes long
I. e. a simple empty index.html in a subfolder of a webserver prevents that the file list is displayed if several settings on apache, php etc. are not complete or missing ...
That's why a Zero Result = ReceiveFTPFile(#Ftp,...) on Failure is ...
I. e. a simple empty index.html in a subfolder of a webserver prevents that the file list is displayed if several settings on apache, php etc. are not complete or missing ...
That's why a Zero Result = ReceiveFTPFile(#Ftp,...) on Failure is ...
- Wed Dec 30, 2015 5:30 am
- Forum: General Discussion
- Topic: ReceiveHTTPFile - Not really a Bug - therefore here
- Replies: 3
- Views: 2430
ReceiveHTTPFile - Not really a Bug - therefore here
Success=ReceiveHTTPFile(.......)
Success delivered in previous Versions the length of the received file
Now in 5.41 it is always 1 if it was ok
Was there a reason to change that?
Now it needs an additional FileSize() to make a quick check if the website/image/script-return has changed ...
Success delivered in previous Versions the length of the received file
Now in 5.41 it is always 1 if it was ok
Was there a reason to change that?
Now it needs an additional FileSize() to make a quick check if the website/image/script-return has changed ...
- Sun Dec 13, 2015 9:55 pm
- Forum: Coding Questions
- Topic: extract parts of file attributes: URL
- Replies: 2
- Views: 1265
Re: extract parts of file attributes: URL
Well, I was that far ...
Even got the same links searching google ...
[EDIT]
Deleted the first answer ... was based on changing the content with a hexeditor and saving it back ... in this case it is irrelevant what is inside the file ... the url still is the old one.
Yes - you are right. Thanks ...
Even got the same links searching google ...
[EDIT]
Deleted the first answer ... was based on changing the content with a hexeditor and saving it back ... in this case it is irrelevant what is inside the file ... the url still is the old one.
Yes - you are right. Thanks ...
- Sun Dec 13, 2015 6:22 pm
- Forum: Coding Questions
- Topic: extract parts of file attributes: URL
- Replies: 2
- Views: 1265
extract parts of file attributes: URL
Don't know how to explain in English ... I try:
If you create a link to a website in Windows Explorer the link is not actually stored in the File itself - whatever you write or change there, the original link stays intact, because its inside the fileattributes
In this case: URL and LinkTarget
You ...
If you create a link to a website in Windows Explorer the link is not actually stored in the File itself - whatever you write or change there, the original link stays intact, because its inside the fileattributes
In this case: URL and LinkTarget
You ...
- Sun Nov 29, 2015 3:32 am
- Forum: Announcement
- Topic: Bitcoin addresses
- Replies: 8
- Views: 12143
Re: Bitcoin addresses
I tried that - but there is no link
Oops - sorry - I missed that link ... too late at night ... should have opened my eyes
I clicked the button first without reading the line below.
Edit: Got it. Thank you very much
Oops - sorry - I missed that link ... too late at night ... should have opened my eyes

I clicked the button first without reading the line below.
Edit: Got it. Thank you very much
- Sun Nov 29, 2015 3:18 am
- Forum: Announcement
- Topic: Bitcoin addresses
- Replies: 8
- Views: 12143
Re: Bitcoin addresses
Hi
This looks interesting at first glance.
Less interesting is that I shall install a MEGAsyncSetup.exe only to download some files. Since I will not do that I will miss this one.
Don't understand me wrong ... just a little critics ... there are 1000 solutions and websites on the internet offering ...
This looks interesting at first glance.
Less interesting is that I shall install a MEGAsyncSetup.exe only to download some files. Since I will not do that I will miss this one.
Don't understand me wrong ... just a little critics ... there are 1000 solutions and websites on the internet offering ...
- Sat Nov 28, 2015 9:06 pm
- Forum: General Discussion
- Topic: Calculate age procedure
- Replies: 13
- Views: 5851
Re: Calculate age procedure
Since 1978 I always used this Function. It was used in the TI-58 TI-59 math module from Texas Instruments. The Formula was made public in their Reference Manual and I ported it to every computer language I ever used.
Procedure.s NumFormat(Num.q, Fill.s=" ")
form.s=Str(Num)
sl=3
While ...
Procedure.s NumFormat(Num.q, Fill.s=" ")
form.s=Str(Num)
sl=3
While ...
- Tue Jun 02, 2015 7:41 pm
- Forum: Coding Questions
- Topic: Rename Directories
- Replies: 6
- Views: 2724
Re: Rename Directories
On my Windows 7 both (with or without Chr(34)) it is not working.kenmo wrote:Remove the Chr(34)'s and it works on my Windows 7 system...
But your Program does ... clever use of a workaround as it seems ... well done
- Tue Jun 02, 2015 6:32 pm
- Forum: Coding Questions
- Topic: Rename Directories
- Replies: 6
- Views: 2724
Re: Rename Directories
;OriginalName.s= "E:\fuji 550" ; <<< works
OriginalName.s= "D:\AA_CameraPics\AA Temporary_Photos\fuji 550" ; <<< fails even on first sub-level
Procedure NoSpacesDirectoryName(OriginalName.s)
NoSpacesName.s = ReplaceString(OriginalName.s, " ", "_")
Debug NoSpacesName.s + " <<< idea is to ...
- Thu Apr 09, 2015 9:36 pm
- Forum: The PureBasic Editor
- Topic: Different PB Versions - different Folders for settings?
- Replies: 6
- Views: 4215
Re: Different PB Versions - different Folders for settings?
Ok - I will try to figure out what is possible with the commandline options
Thank you
Thank you